package com.devank.vo {
	/**
	 * @author L047182
	 */
	[Bindable]
	[RemoteClass(alias="com.arch.dev.client.vo.MonthVO")]
	public class MonthVO {
		public var id : int;
		public var name : String;

		public  function setId(id : int) : void {
			this.id = id;
			getMonth(id);
			//setName(getMonth(id));
		}

		//public function setName(name : String) : void {
	//		Name = name;
	//	}

		private function  getMonth(id : int) : String {
			

			switch (id) {
				case 0:
					name = "January";
					break;
				case 1:
					name = "February";
					break;
				case 2:
					name = "March";
					break;
				case 3:
					name = "April";
					break;
				case 4:
					name = "May";
					break;
				case 5:
					name = "June";
					break;
				case 6:
					name = "July";
					break;
				case 7:
					name = "August";
					break;
				case 8:
					name = "September";
					break;
				case 9:
					name = "October";
					break;
				case 10:
					name = "November";
					break;
				case 11:
					name = "December";
					break;
			}

			return name;
		}
	}
}
